package com.yunhe.java.day08.JiCheng.work;

/**
 * Created by Administrator on 2017/7/31 0031.
 */
 public class  Person {
    String name="王";
    {
        name="钱";
    }
   private int age;
   int weight=50;
    public Person(int weight){
            this.weight=weight;
    }
   public  void fun(){
        System.out.println("人在跑步");
    }

    public void setAge(int age) {
        this.age = age;
    }
    public int getAge() {
       return this.age ;
    }
}
